package cn.kfu.service.impl;

import cn.kfu.mapper.StorageMapper;
import cn.kfu.pojo.Storage;
import cn.kfu.service.StorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StorageServiceImpl implements StorageService {
    @Autowired
    private StorageMapper storageMapper;

    public List<Storage> findAll() {
        return storageMapper.selectList(null);
    }
}
